<%@page import="itsm.isperp.framework.core.context.ContextHolder"%>
<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div clsss="box no-border">
	<table class="form-table">
		<tbody>
			<tr>
				<td class="td1">姓名：</td>
				<td class="td2">${name }</td>
			</tr>
			<tr>
				<td class="td1">工作报告：</td>
				<td class="td2">${model.description }</td>
			</tr>
		</tbody>
	</table>
</div>

<div class="box tabbedBox">
	<div class="header">
		<ul>
			<li><a class="current" href="#OrderIncident">接单事件</a></li>
			<li><a href="#CheckinIncident">登记事件</a></li>
			<li><a href="#SolutionIncident">现场解决事件</a></li>
			<li><a href="#NotFinishIncident">未完成事件</a></li>
		</ul>
	</div>
	
	<div style="padding:0 8px 0 0;border: 1px solid #bbb;border-top:none"
				class="content tabbed">
		<div id="OrderIncident">
			<isperp:grid url="incident/incident/getReportIcd?type=1&fullname=${name }&date=${model.createDate }"
			gridId="OrderIncidentGrid" showToolbar="false"
			cusViewUrl="incident/incident/view">
				<isperp:column name="id" title="id" hidden="true"></isperp:column>
				<isperp:column name="code" title="编号" width="100">
				</isperp:column>
				<isperp:column name="title" title="标题" width="120">
				</isperp:column>
				<isperp:column name="icd_category_name" title="事件类型" width="120">
				</isperp:column>
				<isperp:column name="incident_type" title="性质" width="70">
				</isperp:column>
				<isperp:column name="create_date" title="登记时间" width="100">
				</isperp:column>
				<isperp:column name="status" title="状态" width="80">
				</isperp:column>
			</isperp:grid>
		</div>
		<div id="CheckinIncident">
			<isperp:grid url="incident/incident/getReportIcd?type=2&fullname=${name }&date=${model.createDate }"
			gridId="CheckinIncidentGrid" showToolbar="false"
			cusViewUrl="incident/incident/view">
				<isperp:column name="id" title="id" hidden="true"></isperp:column>
				<isperp:column name="code" title="编号" width="100">
				</isperp:column>
				<isperp:column name="title" title="标题" width="120">
				</isperp:column>
				<isperp:column name="icd_category_name" title="事件类型" width="120">
				</isperp:column>
				<isperp:column name="incident_type" title="性质" width="70">
				</isperp:column>
				<isperp:column name="create_date" title="登记时间" width="100">
				</isperp:column>
				<isperp:column name="status" title="状态" width="80">
				</isperp:column>
			</isperp:grid>
		</div>
		<div id="SolutionIncident">
			<isperp:grid url="incident/incident/getReportIcd?type=3&fullname=${name }&date=${model.createDate }"
			gridId="SolutionIncidentGrid" showToolbar="false"
			cusViewUrl="incident/incident/view">
				<isperp:column name="id" title="id" hidden="true"></isperp:column>
				<isperp:column name="code" title="编号" width="100">
				</isperp:column>
				<isperp:column name="title" title="标题" width="120">
				</isperp:column>
				<isperp:column name="icd_category_name" title="事件类型" width="120">
				</isperp:column>
				<isperp:column name="incident_type" title="性质" width="70">
				</isperp:column>
				<isperp:column name="create_date" title="登记时间" width="100">
				</isperp:column>
				<isperp:column name="status" title="状态" width="80">
				</isperp:column>
			</isperp:grid>
		</div>
		<div id="NotFinishIncident">
			<isperp:grid url="incident/incident/getReportIcd?type=4&fullname=${name }&date=${model.createDate }"
			gridId="NotFinishIncidentGrid" showToolbar="false"
			cusViewUrl="incident/incident/view">
				<isperp:column name="id" title="id" hidden="true"></isperp:column>
				<isperp:column name="code" title="编号" width="100">
				</isperp:column>
				<isperp:column name="title" title="标题" width="120">
				</isperp:column>
				<isperp:column name="icd_category_name" title="事件类型" width="120">
				</isperp:column>
				<isperp:column name="incident_type" title="性质" width="70">
				</isperp:column>
				<isperp:column name="create_date" title="登记时间" width="100">
				</isperp:column>
				<isperp:column name="status" title="状态" width="80">
				</isperp:column>
			</isperp:grid>
		</div>
	</div>
	
	<isperp:buttonList>

	</isperp:buttonList>
</div>